import request from '@/utils/request'

// 支付
export function apiPayPrepay(params: any) {
    return request.get({ url: '/pay/prepay', params })
}

// 充值创建
export function apiRechargeCreate(params: any) {
    return request.post({ url: '/recharge/create', params })
}


// 充值永恒币配置
export function apiRechargeCoin_config() {
    return request.post({ url: '/recharge/coin_config' })
}

// 充值余额配置
export function apiRechargeMoney_config() {
    return request.post({ url: '/recharge/money_config' })
}